package com.wzw.springboot.principle.use.datasource;

import java.lang.annotation.*;

/**
 * @author Wangzhiwen
 */
@Target(value = {ElementType.TYPE, ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface DatasourceSwitcher {

    /**
     * 数据库标识
     */
    DatasourceEnum value() default DatasourceEnum.DEFAULT;

}
